package tr.edu.yildiz.ce.app_manager.ui.action.menu;

import tr.edu.yildiz.ce.app_manager.model.AppProxy;
import tr.edu.yildiz.ce.app_manager.model.Application;
import tr.edu.yildiz.ce.app_manager.ui.AppManagerApplication;

public class MenuActionFactory {

 	public MenuAction getTableAction(Class clazz,AppManagerApplication app){
 		if (clazz.equals(Application.class)){
 			return new ApplicationAction(app);
 		}else if (clazz.equals(AppProxy.class)){
 			return new ProxyAction(app);
 		} 
 		return null;
 	}
	
	
}
